def main():
    a=int(input())
    b=eval(input())
    c=[]
    for i in range(a):
        c.append(i)
    c.append(b)
    print(paixu(c))
def paixu(c):
    a=len(c)
    for i in range(a):
        for i in range(a):
            if i<a-1:
                if c[i]>c[i+1]:
                    c[i],c[i+1]=c[i+1],c[i]
    return c
main()
